package cn.cai;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import springfox.documentation.swagger2.annotations.EnableSwagger2;


@SpringBootApplication
@EnableSwagger2
@EnableDiscoveryClient  //启动Nacos注册客户端
@EnableFeignClients        //启动Feign客户端
public class SpringBootEduApplication {
    public static void main(String[] args) {
        SpringApplication.run(SpringBootEduApplication.class,args);
    }
}
